<?php
// The table header
if(isset($coupon_used) && !empty($coupon_used)) 
$coupon_area ="<tr><td class='forumheader2' colspan='4'>".lan_admin_orders_coupon_used.$coupon_used."</td></tr>";

$display .= "<center><br />
<table class='fborder' width='100%'>".$coupon_area."
    <tr>";
        
$display .= "
        <form action='".e_SELF."?m=e&x=".$safe["p"]."' method='POST'>
        <td class='forumheader2' style='text-align:center;'>
            <input type='checkbox' name='paid' value='1' class='tbox' $order_status>&nbsp;".lan_admin_order_paid."&nbsp;&nbsp;&nbsp;
            <input type='checkbox' name='completed' value='1' class='tbox' $completed>&nbsp;".lan_admin_order_completed."
        </td>
        <td class='forumheader2' style='text-align:center;'>
            <input type='hidden' name='order' value='".$_GET["p"]."'>
            <input type='hidden' name='edit' value='edit'>
            <input type='submit' value='".lan_global_submit."' class='tbox'>
        </form>
        </td>
        <td class='forumheader2' style='text-align:center;'>
            <form action='".e_SELF."?m=d&o=".$_GET["p"]."' method='POST'>
                <input type='hidden' value='".$_GET["p"]."' name='oo'>
                <input type='submit' value='".lan_global_delete."' class='tbox'>
            </form>
        </td>            
    </tr>
</table>";

$ns->tablerender("", $display);
